<%= render 'documents/browse-options' %>

<%= will_paginate @documents %>

<ul class="documents">
	<% if @documents.each do |document| %>
		<%= render document %>
	<% end.empty? %>
		<%= t('content.list.no_elements', elements: t('activerecord.models.document', count: 2)) %>
	<% end %>
</ul>

<%= will_paginate @documents %>